home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / mplay_bombsite.gls < prev    next >
Text File  |  2000-09-09  |  12KB  |  687 lines

  1. /************/
  2. /* INCLUDES */
  3. /************/
  4.  
  5. // n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
  6.  
  7. // default things to inherit our objects from
  8.  
  9. #include "defaults.gsh"
  10.  
  11. // good guys
  12.  
  13. #include "frend.gsh"
  14. #include "elint.gsh"
  15. #include "hark.gsh"
  16. #include "gunlok.gsh"
  17. #include "maskelyn.gsh"
  18.  
  19. // bad guys
  20.  
  21. //#include "claw.gsh"
  22. //#include "stalker.gsh"
  23. //#include "drone.gsh"
  24. //#include "centipede.gsh"
  25. //#include "rex.gsh"
  26. //#include "cyberdog.gsh"
  27. //#include "cranium_turret.gsh"
  28. //#include "battler_turret.gsh"
  29. //#include "walking_mine.gsh"
  30. //#include "reaper.gsh"
  31. //#include "scuttler.gsh"
  32. //#include "popup_turret.gsh"
  33. //#include "wall_turret.gsh"
  34. #include "fishy.gsh"
  35. #include "frogs head.gsh"
  36. #include "penguin.gsh"
  37. #include "gunical.gsh"
  38. //#include "gun-tusser.gsh"
  39. #include "guncraft.gsh"
  40. #include "klig ship.gsh"
  41. //#include "star.gsh"
  42. //#include "wing fish.gsh"
  43. #include "x-rotuse.gsh"
  44. //#include "spug gun.gsh"
  45. #include "stingray.gsh"
  46. #include "tulip.gsh"
  47. #include "shouldercrab.gsh"
  48. //#include "pulse.gsh"
  49. //#include "gunter.gsh"
  50.  
  51. // neutral things
  52.  
  53. // #include "robodozer.gsh"
  54. #include "tumbleweed.gsh"
  55. #include "crate.gsh"
  56. #include "wall_multifrag.gsh"
  57. #include "technobox_multifrag.gsh"
  58.  
  59. // fires
  60.  
  61. #include "carfire.gsh"
  62. #include "oilfire.gsh"
  63.  
  64. /*********/
  65. /* NOTES */
  66. /*********/
  67.  
  68. /**********/
  69. /* SHAPES */
  70. /**********/
  71. // world objects
  72.  
  73. shape Shp_BUSTVAT
  74. {
  75.     file "levels\mplay_bombsite.rif"
  76.     name "BUSTVAT"
  77. }
  78. shape Shp_CAR_A
  79. {
  80.     file "levels\mplay_bombsite.rif"
  81.     name "CAR A"
  82. }
  83. shape Shp_CAR_B
  84. {
  85.     file "levels\mplay_bombsite.rif"
  86.     name "CAR B"
  87. }
  88. shape Shp_CAR_C
  89. {
  90.     file "levels\mplay_bombsite.rif"
  91.     name "CAR C"
  92. }
  93. shape Shp_CAR_D
  94. {
  95.     file "levels\mplay_bombsite.rif"
  96.     name "CAR D"
  97. }
  98. shape Shp_CAR_E
  99. {
  100.     file "levels\mplay_bombsite.rif"
  101.     name "CAR E"
  102. }
  103. shape Shp_CAR_F
  104. {
  105.     file "levels\mplay_bombsite.rif"
  106.     name "CAR F"
  107. }
  108. shape Shp_CAR_G
  109. {
  110.     file "levels\mplay_bombsite.rif"
  111.     name "CAR G"
  112. }
  113. shape Shp_CAR_H
  114. {
  115.     file "levels\mplay_bombsite.rif"
  116.     name "CAR H"
  117. }
  118. shape Shp_CYBERBAY
  119. {
  120.     file "levels\mplay_bombsite.rif"
  121.     name "CYBERBAY"
  122. }
  123. shape Shp_GENERATOR
  124. {
  125.     file "levels\mplay_bombsite.rif"
  126.     name "GENERATOR"
  127. }
  128. shape Shp_SCARAB
  129. {
  130.     file "levels\mplay_bombsite.rif"
  131.     name "SCARAB"
  132. }
  133. shape Shp_TRAILER
  134. {
  135.     file "levels\mplay_bombsite.rif"
  136.     name "TRAILER"
  137. }
  138. shape Shp_TRUCK_A
  139. {
  140.     file "levels\mplay_bombsite.rif"
  141.     name "TRUCK A"
  142. }
  143. shape Shp_TRUCK_B
  144. {
  145.     file "levels\mplay_bombsite.rif"
  146.     name "TRUCK B"
  147. }
  148. shape Shp_TRUCK_C
  149. {
  150.     file "levels\mplay_bombsite.rif"
  151.     name "TRUCK C"
  152. }
  153. shape Shp_TRUCK_D
  154. {
  155.     file "levels\mplay_bombsite.rif"
  156.     name "TRUCK D"
  157. }
  158. shape Shp_TRUCK_E
  159. {
  160.     file "levels\mplay_bombsite.rif"
  161.     name "TRUCK E"
  162. }
  163. shape Shp_TRUCK_F
  164. {
  165.     file "levels\mplay_bombsite.rif"
  166.     name "TRUCK F"
  167. }
  168. shape Shp_TRUCK_G
  169. {
  170.     file "levels\mplay_bombsite.rif"
  171.     name "TRUCK G"
  172. }
  173. shape Shp_TRUCK_H
  174. {
  175.     file "levels\mplay_bombsite.rif"
  176.     name "TRUCK H"
  177. }
  178. shape Shp_TRUCK_I
  179. {
  180.     file "levels\mplay_bombsite.rif"
  181.     name "TRUCK I"
  182. }
  183. shape Shp_TRUCK_J
  184. {
  185.     file "levels\mplay_bombsite.rif"
  186.     name "TRUCK J"
  187. }
  188. shape Shp_TRUCK_K
  189. {
  190.     file "levels\mplay_bombsite.rif"
  191.     name "TRUCK K"
  192. }
  193. shape Shp_TRUCK_L
  194. {
  195.     file "levels\mplay_bombsite.rif"
  196.     name "TRUCK L"
  197. }
  198. shape Shp_TRUCK_M
  199. {
  200.     file "levels\mplay_bombsite.rif"
  201.     name "TRUCK M"
  202. }
  203. shape Shp_TRUCK_N
  204. {
  205.     file "levels\mplay_bombsite.rif"
  206.     name "TRUCK N"
  207. }
  208. shape Shp_TRUCK_O
  209. {
  210.     file "levels\mplay_bombsite.rif"
  211.     name "TRUCK O"
  212. }
  213. shape Shp_TRUCK_P
  214. {
  215.     file "levels\mplay_bombsite.rif"
  216.     name "TRUCK P"
  217. }
  218. shape Shp_TRUCK_Q
  219. {
  220.     file "levels\mplay_bombsite.rif"
  221.     name "TRUCK Q"
  222. }
  223. shape Shp_TRUCK_R
  224. {
  225.     file "levels\mplay_bombsite.rif"
  226.     name "TRUCK R"
  227. }
  228. shape Shp_TRUCK_S
  229. {
  230.     file "levels\mplay_bombsite.rif"
  231.     name "TRUCK S"
  232. }
  233. shape Shp_TRUCK_T
  234. {
  235.     file "levels\mplay_bombsite.rif"
  236.     name "TRUCK T"
  237. }
  238. shape Shp_TRUCK_U
  239. {
  240.     file "levels\mplay_bombsite.rif"
  241.     name "TRUCK U"
  242. }
  243. shape Shp_TRUCK_V
  244. {
  245.     file "levels\mplay_bombsite.rif"
  246.     name "TRUCK V"
  247. }
  248. shape Shp_TRUCK_W
  249. {
  250.     file "levels\mplay_bombsite.rif"
  251.     name "TRUCK W"
  252. }
  253. shape Shp_TURBINE_A
  254. {
  255.     file "levels\mplay_bombsite.rif"
  256.     name "TURBINE A"
  257. }
  258. shape Shp_TURBINE_B
  259. {
  260.     file "levels\mplay_bombsite.rif"
  261.     name "TURBINE B"
  262. }
  263. shape Shp_WATCHTOWER
  264. {
  265.     file "levels\mplay_bombsite.rif"
  266.     name "WATCHTOWER"
  267. }
  268. shape Shp_Junkpile_C
  269. {
  270.     file "objects\JUNKPILE C.rif"
  271.     name "JUNKPILE C"
  272. }
  273. shape Shp_Junkpile_D
  274. {
  275.     file "objects\JUNKPILE D.rif"
  276.     name "JUNKPILE D"
  277. }
  278. shape Shp_GARBAGE_F
  279. {
  280.     file "objects\GARBAGE F.rif"
  281.     name "GARBAGE F"
  282. }
  283. shape Shp_GARBAGE_G
  284. {
  285.     file "objects\GARBAGE G.rif"
  286.     name "GARBAGE G"
  287. }
  288.  
  289. /**********/
  290. /* ROLES  */
  291. /**********/
  292.  
  293. // world objects
  294.  
  295. role Rol_BUSTVAT : Rol_PlacedObject
  296. {
  297.     shape Shp_BUSTVAT
  298. }
  299. role Rol_CAR_A : Rol_PlacedObject
  300. {
  301.     shape Shp_CAR_A
  302. }
  303. role Rol_CAR_B : Rol_PlacedObject
  304. {
  305.     shape Shp_CAR_B
  306. }
  307. role Rol_CAR_C : Rol_PlacedObject
  308. {
  309.     shape Shp_CAR_C
  310. }
  311. role Rol_CAR_D : Rol_PlacedObject
  312. {
  313.     shape Shp_CAR_D
  314. }
  315. role Rol_CAR_E : Rol_PlacedObject
  316. {
  317.     shape Shp_CAR_E
  318. }
  319. role Rol_CAR_F : Rol_PlacedObject
  320. {
  321.     shape Shp_CAR_F
  322. }
  323. role Rol_CAR_G : Rol_PlacedObject
  324. {
  325.     shape Shp_CAR_G
  326. }
  327. role Rol_CAR_H : Rol_PlacedObject
  328. {
  329.     shape Shp_CAR_H
  330. }
  331. role Rol_CYBERBAY : Rol_PlacedObject
  332. {
  333.     shape Shp_CYBERBAY
  334. }
  335. role Rol_GENERATOR : Rol_PlacedObject
  336. {
  337.     shape Shp_GENERATOR
  338. }
  339. role Rol_SCARAB : Rol_PlacedObject
  340. {
  341.     shape Shp_SCARAB
  342. }
  343. role Rol_TRAILER : Rol_PlacedObject
  344. {
  345.     shape Shp_TRAILER
  346. }
  347. role Rol_TRUCK_A : Rol_PlacedObject
  348. {
  349.     shape Shp_TRUCK_A
  350. }
  351. role Rol_TRUCK_B : Rol_PlacedObject
  352. {
  353.     shape Shp_TRUCK_B
  354. }
  355. role Rol_TRUCK_C : Rol_PlacedObject
  356. {
  357.     shape Shp_TRUCK_C
  358. }
  359. role Rol_TRUCK_D : Rol_PlacedObject
  360. {
  361.     shape Shp_TRUCK_D
  362. }
  363. role Rol_TRUCK_E : Rol_PlacedObject
  364. {
  365.     shape Shp_TRUCK_E
  366. }
  367. role Rol_TRUCK_F : Rol_PlacedObject
  368. {
  369.     shape Shp_TRUCK_F
  370. }
  371. role Rol_TRUCK_G : Rol_PlacedObject
  372. {
  373.     shape Shp_TRUCK_G
  374. }
  375. role Rol_TRUCK_H : Rol_PlacedObject
  376. {
  377.     shape Shp_TRUCK_H
  378. }
  379. role Rol_TRUCK_I : Rol_PlacedObject
  380. {
  381.     shape Shp_TRUCK_I
  382. }
  383. role Rol_TRUCK_J : Rol_PlacedObject
  384. {
  385.     shape Shp_TRUCK_J
  386. }
  387. role Rol_TRUCK_K : Rol_PlacedObject
  388. {
  389.     shape Shp_TRUCK_K
  390. }
  391. role Rol_TRUCK_L : Rol_PlacedObject
  392. {
  393.     shape Shp_TRUCK_L
  394. }
  395. role Rol_TRUCK_M : Rol_PlacedObject
  396. {
  397.     shape Shp_TRUCK_M
  398. }
  399. role Rol_TRUCK_N : Rol_PlacedObject
  400. {
  401.     shape Shp_TRUCK_N
  402. }
  403. role Rol_TRUCK_O : Rol_PlacedObject
  404. {
  405.     shape Shp_TRUCK_O
  406. }
  407. role Rol_TRUCK_P : Rol_PlacedObject
  408. {
  409.     shape Shp_TRUCK_P
  410. }
  411. role Rol_TRUCK_Q : Rol_PlacedObject
  412. {
  413.     shape Shp_TRUCK_Q
  414. }
  415. role Rol_TRUCK_R : Rol_PlacedObject
  416. {
  417.     shape Shp_TRUCK_R
  418. }
  419. role Rol_TRUCK_S : Rol_PlacedObject
  420. {
  421.     shape Shp_TRUCK_S
  422. }
  423. role Rol_TRUCK_T : Rol_PlacedObject
  424. {
  425.     shape Shp_TRUCK_T
  426. }
  427. role Rol_TRUCK_U : Rol_PlacedObject
  428. {
  429.     shape Shp_TRUCK_U
  430. }
  431. role Rol_TRUCK_V : Rol_PlacedObject
  432. {
  433.     shape Shp_TRUCK_V
  434. }
  435. role Rol_TRUCK_W : Rol_PlacedObject
  436. {
  437.     shape Shp_TRUCK_W
  438. }
  439. role Rol_TURBINE_A : Rol_PlacedObject
  440. {
  441.     shape Shp_TURBINE_A
  442. }
  443. role Rol_TURBINE_B : Rol_PlacedObject
  444. {
  445.     shape Shp_TURBINE_B
  446. }
  447. role Rol_WATCHTOWER : Rol_PlacedObject
  448. {
  449.     shape Shp_WATCHTOWER
  450. }
  451. role Rol_Junkpile_C : Rol_DefaultJunkpile
  452. {
  453.     shape Shp_Junkpile_C
  454. }
  455. role Rol_Junkpile_D : Rol_DefaultJunkpile
  456. {
  457.     shape Shp_Junkpile_D
  458. }
  459. role Rol_Garbage_F : Rol_DefaultGarbage
  460. {
  461.     shape Shp_GARBAGE_F
  462. }
  463. role Rol_Garbage_G : Rol_DefaultGarbage
  464. {
  465.     shape Shp_GARBAGE_G
  466. }
  467.  
  468. /***********/
  469. /* THE MAP */
  470. /***********/
  471.  
  472. map /* _THE_ map - doesnt need a label */
  473. {
  474.     file "levels\mplay_bombsite.rif"
  475.     name "Land"
  476.     bitmap none // obsolete
  477.     camera plane none
  478.     max camera distance 100 // TBD exactly
  479.     shadow object rif "levels\mplay_bombsite_shadow.rif"
  480.     shadow object name "Land"
  481.  
  482.     // AI'S TROOPS
  483.  
  484.     // NEUTRAL OBJECTS
  485.  
  486. use Rol_BUSTVAT in team 0 for
  487. "BUSTVAT"
  488.  
  489. //use Rol_CAR_A in team 0 for
  490. //"CAR_A"
  491.  
  492. //use Rol_CAR_B in team 0 for
  493. //"CAR_B"
  494.  
  495. //use Rol_CAR_C in team 0 for
  496. //"CAR_C"
  497.  
  498. //use Rol_CAR_D in team 0 for
  499. //"CAR_D"
  500.  
  501. //use Rol_CAR_E in team 0 for
  502. //"CAR_E"
  503.  
  504. //use Rol_CAR_F in team 0 for
  505. //"CAR_F"
  506.  
  507. //use Rol_CAR_G in team 0 for
  508. //"CAR_G"
  509.  
  510. //use Rol_CAR_H in team 0 for
  511. //"CAR_H"
  512.  
  513. use Rol_CYBERBAY in team 0 for
  514. "CYBERBAY"
  515.  
  516. use Rol_GENERATOR in team 0 for
  517. "GENERATOR"
  518.  
  519. use Rol_SCARAB in team 0 for
  520. "SCARAB"
  521.  
  522. use Rol_TRAILER in team 0 for
  523. "TRAILER"
  524.  
  525. //use Rol_TRUCK_A in team 0 for
  526. //"TRUCK A"
  527.  
  528. //use Rol_TRUCK_B in team 0 for
  529. //"TRUCK B"
  530.  
  531. //use Rol_TRUCK_C in team 0 for
  532. //"TRUCK C"
  533.  
  534. //use Rol_TRUCK_D in team 0 for
  535. //"TRUCK D"
  536.  
  537. //use Rol_TRUCK_E in team 0 for
  538. //"TRUCK E"
  539.  
  540. //use Rol_TRUCK_F in team 0 for
  541. //"TRUCK F"
  542.  
  543. //use Rol_TRUCK_G in team 0 for
  544. //"TRUCK G"
  545.  
  546. //use Rol_TRUCK_H in team 0 for
  547. //"TRUCK H"
  548.  
  549. //use Rol_TRUCK_I in team 0 for
  550. //"TRUCK I"
  551.  
  552. //use Rol_TRUCK_J in team 0 for
  553. //"TRUCK J"
  554.  
  555. //use Rol_TRUCK_K in team 0 for
  556. //"TRUCK K"
  557.  
  558. //use Rol_TRUCK_L in team 0 for
  559. "TRUCK L"
  560.  
  561. //use Rol_TRUCK_M in team 0 for
  562. //"TRUCK M"
  563.  
  564. //use Rol_TRUCK_N in team 0 for
  565. //"TRUCK N"
  566.  
  567. //use Rol_TRUCK_O in team 0 for
  568. //"TRUCK O"
  569.  
  570. //use Rol_TRUCK_P in team 0 for
  571. //"TRUCK P"
  572.  
  573. //use Rol_TRUCK_Q in team 0 for
  574. //"TRUCK Q"
  575.  
  576. //use Rol_TRUCK_R in team 0 for
  577. //"TRUCK R"
  578.  
  579. //use Rol_TRUCK_S in team 0 for
  580. //"TRUCK S"
  581.  
  582. //use Rol_TRUCK_T in team 0 for
  583. //"TRUCK T"
  584.  
  585. //use Rol_TRUCK_U in team 0 for
  586. //"TRUCK U"
  587.  
  588. //use Rol_TRUCK_V in team 0 for
  589. //"TRUCK V"
  590.  
  591. //use Rol_TRUCK_W in team 0 for
  592. //"TRUCK W"
  593.  
  594. use Rol_TURBINE_A in team 0 for
  595. "TURBINE A"
  596.  
  597. use Rol_TURBINE_B in team 0 for
  598. "TURBINE B"
  599.  
  600. use Rol_WATCHTOWER in team 0 for
  601. "WATCHTOWER"
  602.  
  603.     use Rol_Junkpile_C in team 0 for
  604.         "JUNKPILE C" as "JUNKPILE_C"
  605.  
  606.     use Rol_Junkpile_C in team 0 for
  607.         "JUNKPILE CB" as "JUNKPILE_CB"
  608.  
  609.     use Rol_Junkpile_C in team 0 for
  610.         "JUNKPILE CC" as "JUNKPILE_CC"
  611.  
  612.     use Rol_Junkpile_C in team 0 for
  613.         "JUNKPILE CD" as "JUNKPILE_CD"
  614.  
  615.     use Rol_Junkpile_C in team 0 for
  616.         "JUNKPILE CE" as "JUNKPILE_CE"
  617.  
  618.     use Rol_Junkpile_C in team 0 for
  619.         "JUNKPILE CF" as "JUNKPILE_CF"
  620.  
  621.     use Rol_Junkpile_C in team 0 for
  622.         "JUNKPILE CG" as "JUNKPILE_CG"
  623.  
  624.     use Rol_Junkpile_D in team 0 for
  625.         "JUNKPILE D" as "JUNKPILE_D"
  626.  
  627.     use Rol_Junkpile_D in team 0 for
  628.         "JUNKPILE DB" as "JUNKPILE_DB"
  629.  
  630.     use Rol_Junkpile_D in team 0 for
  631.         "JUNKPILE DC" as "JUNKPILE_DC"
  632.  
  633.     use Rol_Junkpile_D in team 0 for
  634.         "JUNKPILE DD" as "JUNKPILE_DD"
  635.  
  636.     use Rol_Junkpile_D in team 0 for
  637.         "JUNKPILE DE" as "JUNKPILE_DE"
  638.  
  639.     use Rol_Junkpile_D in team 0 for
  640.         "JUNKPILE DF" as "JUNKPILE_DF"
  641.  
  642.     use Rol_Junkpile_D in team 0 for
  643.         "JUNKPILE DG" as "JUNKPILE_DG"
  644.  
  645. use Rol_Garbage_F in team 0 for
  646. "GARBAGE F" as "GARBAGE_F"
  647.  
  648. use Rol_Garbage_F in team 0 for
  649. "GARBAGE FB" as "GARBAGE_FB"
  650.  
  651. use Rol_Garbage_F in team 0 for
  652. "GARBAGE FC" as "GARBAGE_FC"
  653.  
  654. use Rol_Garbage_F in team 0 for
  655. "GARBAGE FD" as "GARBAGE_FD"
  656.  
  657. use Rol_Garbage_F in team 0 for
  658. "GARBAGE FE" as "GARBAGE_FE"
  659.  
  660. use Rol_Garbage_F in team 0 for
  661. "GARBAGE FF" as "GARBAGE_FF"
  662.  
  663. use Rol_Garbage_F in team 0 for
  664. "GARBAGE FG" as "GARBAGE_FG"
  665.  
  666. use Rol_Garbage_G in team 0 for
  667. "GARBAGE G" as "GARBAGE_G"
  668.  
  669. use Rol_Garbage_G in team 0 for
  670. "GARBAGE GB" as "GARBAGE_GB"
  671.  
  672. use Rol_Garbage_G in team 0 for
  673. "GARBAGE GC" as "GARBAGE_GC"
  674.  
  675. use Rol_Garbage_G in team 0 for
  676. "GARBAGE GD" as "GARBAGE_GD"
  677.  
  678. use Rol_Garbage_G in team 0 for
  679. "GARBAGE GE" as "GARBAGE_GE"
  680.  
  681. use Rol_Garbage_G in team 0 for
  682. "GARBAGE GF" as "GARBAGE_GF"
  683.  
  684. use Rol_Garbage_G in team 0 for
  685. "GARBAGE GG" as "GARBAGE_GG"
  686.  
  687. }